package com.eportal.dao;

import com.eportal.entity.TUsersCommunityEntity;
import com.framework.jqgrid.MyMapper;
import org.apache.ibatis.annotations.Param;

public interface TUsersCommunityEntityMapper extends MyMapper<TUsersCommunityEntity> {

    /**
     * 根据小区id和用户id获取对象
     * @author Saber
     * @Date 2017/8/10 下午6:42
     * @param communityId   小区id
     * @param userId        用户id
     * @return
     */
    TUsersCommunityEntity getByCommunityIdAndUserId(@Param("communityId") String communityId, @Param("userId") String userId);
}
